﻿@model LeadMaster.ViewModels.ViewModelLeadStatus

@using (Ajax.BeginForm(
    "ChangeLeadStatus","Client",null,
    new AjaxOptions
{
    HttpMethod = "Post"
}, new { @id = "formChangeLeadStatus" }))
{
@Html.ValidationSummary(true)
<fieldset>
<legend style="width: 350px;">Change Status Of This Lead</legend>
@Html.HiddenFor(m => m.LeadStatus.LeadStatusID)
@Html.HiddenFor(m => m.LeadStatus.BlockID)
@Html.HiddenFor(m => m.LeadStatus.LeadReasonsID)
@Html.HiddenFor(m => m.LeadStatus.LeadID)
@Html.HiddenFor(m => m.LeadStatus.CallCentreID)
@Html.HiddenFor(m => m.LeadStatus.LeadDate)
@Html.HiddenFor(m => m.LeadStatus.PurchaseOrderID)
@Html.HiddenFor(m => m.LeadStatus.VoxFile)
@Html.HiddenFor(m => m.Element)
@Html.HiddenFor(m => m.LeadStatus.Notes)
@Html.HiddenFor(m => m.LeadStatus.ClientNotes)

<div>
<label>Status</label>
@Html.DropDownList("LeadStatus_LeadFlagsID", null, new { @class = "chosen" })
</div>
</fieldset>
}

<script type="text/javascript">
    $(document).ready(function () {
        $("#LeadStatus_LeadFlagsID").attr("Name", "LeadStatus.LeadFlagsID");
        $(".chosen").chosen();
    });
</script>
